
using UnityEngine;

namespace Client.Base
{
    public class LocalCache
    {
        static public string PatchVersion
        {
            get
            {
                return PlayerPrefs.GetString("PatchVersion", "1.0");
            }
            set
            {
                PlayerPrefs.SetString("PatchVersion", value);
            }
        }

        static public string Lanuage
        {
            get
            {
                return PlayerPrefs.GetString("Lanuage", "cn");
            }
            set
            {
                PlayerPrefs.SetString("Lanuage", value);
            }
        }

        static public string LoginToken
        {
            get
            {
                return PlayerPrefs.GetString("login_token", "");
            }
            set
            {
                PlayerPrefs.SetString("login_token", value);
            }
        }
    }

}
